package com.chenfan.magic.entity;

import com.chenfan.magic.service.IClientDetails;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 客户端详情
 *
 * @author troy
 */
@Data
public class ClientDetails implements IClientDetails {

    /**
     * 客户端id
     */
    @ApiModelProperty(value = "客户端id")
    private String appKey;
    /**
     * 客户端密钥
     */
    @ApiModelProperty(value = "客户端密钥")
    private String appSecret;

    /**
     * 令牌过期秒数
     */
    @ApiModelProperty(value = "令牌过期秒数")
    private Integer accessTokenValidity;
    /**
     * 刷新令牌过期秒数
     */
    @ApiModelProperty(value = "刷新令牌过期秒数")
    private Integer refreshTokenValidity;

}
